                        <section>
                        <fieldset class="form grid_6">
                            
                            <?php
                            echo $form->create('User', array('action' => 'changepassword'));
                            echo $form->input('User.old_password', array('label' => 'Old Password', 'type' => 'password'));
                            echo $form->input('User.password', array('label' => 'New Password', 'type' => 'password'));
                            echo $form->input('User.passwordconf', array('label' => 'Confirm New Password', 'type' => 'password')); ?>
                            
                             </fieldset>
                            <?php echo $form->button('<span class="accept"></span>Change Password', array('class' => 'button button-gray accept')); ?>
                            <?php echo $form->end(); ?>
                           
                            <br />
                            
                            <?php echo $form->button('<span class="cancel"></span>Cancel', array('class' => 'button button-gray accept', 'onclick' => 'location.href=\'' . $this->Html->url('/users/profile') . '\'' , 'type' => 'button')); ?>
                            
                       
                        </section>